<template>
  <div class="page-search">
    <Hyform :formItems="formItems" :formData="formData">
      <template #header>
        <div>头部</div>
      </template>
      <template #footer>
        <div class="handle-btns">
          <el-button type="primary" icon="">重置</el-button>
          <el-button type="primary" icon="">搜索</el-button>
        </div>
      </template>
    </Hyform>
  </div>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue'
import { Hyform } from '@/base-ui/form'

export default defineComponent({
  components: { Hyform },
  setup() {
    const formData = ref({
      id: '',
      name: '',
      password: '',
      sport: '',
      createTime: '',
    })
    return { formData }
  },
})
</script>

<style scoped></style>
